
using System;
using System.Data;
using System.Collections.Generic;

using ZFrameWork.DB;

namespace BHBC.Entity
{

	/// <summary>
	/// Entity class for Table'tb_UserAccount'
	/// </summary>
	[Table("tb_UserAccount","","bhdb")]
	public class TbUserAccountInfo : BaseEntity
	{
		override public string ConnectionName
		{
			get
			{
				return "bhdb";
			}
		}
		
		private long? _id;
		
		[Column("id",DbType.Int64,8,IsNullable=false  ,IsAutoIncrement=true)]
		public long? Id
		{
			get { return _id; }
			set
			{
				_id = value;			
			}
		}
		
		private string _userID;
		
		[Column("UserID",DbType.AnsiString,50,IsNullable=false  )]
		public string UserID
		{
			get { return _userID; }
			set
			{
				_userID = value;			
			}
		}
		
		private string _nickName;
		
		[Column("NickName",DbType.AnsiString,80,IsNullable=false  )]
		public string NickName
		{
			get { return _nickName; }
			set
			{
				_nickName = value;			
			}
		}
		
		private string _passwd;
		
		[Column("Passwd",DbType.AnsiString,20,IsNullable=false  )]
		public string Passwd
		{
			get { return _passwd; }
			set
			{
				_passwd = value;			
			}
		}
		
		private int? _type;
		
		[Column("Type",DbType.Int32,4,IsNullable=false  )]
		public int? Type
		{
			get { return _type; }
			set
			{
				_type = value;			
			}
		}
		
		private string _mobile;
		
		[Column("Mobile",DbType.AnsiString,20,IsNullable=false  )]
		public string Mobile
		{
			get { return _mobile; }
			set
			{
				_mobile = value;			
			}
		}
		
		private int? _isBusi;
		
		[Column("IsBusi",DbType.Int32,4,IsNullable=false  )]
		public int? IsBusi
		{
			get { return _isBusi; }
			set
			{
				_isBusi = value;			
			}
		}
		
		private string _email;
		
		[Column("Email",DbType.AnsiString,200,IsNullable=false  )]
		public string Email
		{
			get { return _email; }
			set
			{
				_email = value;			
			}
		}
		
		private string _headPic;
		
		[Column("HeadPic",DbType.AnsiString,80,IsNullable=false  )]
		public string HeadPic
		{
			get { return _headPic; }
			set
			{
				_headPic = value;			
			}
		}
		
		private int? _gender;
		
		[Column("Gender",DbType.Int32,4,IsNullable=false  )]
		public int? Gender
		{
			get { return _gender; }
			set
			{
				_gender = value;			
			}
		}
		
		private int? _hasMap;
		
		[Column("HasMap",DbType.Int32,4,IsNullable=false  )]
		public int? HasMap
		{
			get { return _hasMap; }
			set
			{
				_hasMap = value;			
			}
		}
		
		private string _platForm;
		
		[Column("PlatForm",DbType.AnsiString,20,IsNullable=false  )]
		public string PlatForm
		{
			get { return _platForm; }
			set
			{
				_platForm = value;			
			}
		}
		
		private string _suffix;
		
		[Column("Suffix",DbType.AnsiString,20,IsNullable=false  )]
		public string Suffix
		{
			get { return _suffix; }
			set
			{
				_suffix = value;			
			}
		}
		
		private string _source;
		
		[Column("Source",DbType.AnsiString,20,IsNullable=false  )]
		public string Source
		{
			get { return _source; }
			set
			{
				_source = value;			
			}
		}
		
		private DateTime? _createTime;
		
		[Column("CreateTime",DbType.DateTime,8,IsNullable=false  )]
		public DateTime? CreateTime
		{
			get { return _createTime; }
			set
			{
				_createTime = value;			
			}
		}
		
		private DateTime? _lastLoginTime;
		
		[Column("LastLoginTime",DbType.DateTime,8,IsNullable=false  )]
		public DateTime? LastLoginTime
		{
			get { return _lastLoginTime; }
			set
			{
				_lastLoginTime = value;			
			}
		}
		
	}

}
